[INFO] cloning repository https://github.com/tomasz-pankowski/rust-class-ps1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomasz-pankowski/rust-class-ps1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-pankowski%2Frust-class-ps1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-pankowski%2Frust-class-ps1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f97feee69ac50a6c831ca73fe4211eebb8e89f69
[INFO] fixing tomasz-pankowski/rust-class-ps1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-pankowski%2Frust-class-ps1" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tomasz-pankowski/rust-class-ps1
[INFO] finished tweaking git repo https://github.com/tomasz-pankowski/rust-class-ps1
[INFO] tweaked toml for git repo https://github.com/tomasz-pankowski/rust-class-ps1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomasz-pankowski/rust-class-ps1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tomasz-pankowski/rust-class-ps1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ps1` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb
[INFO] running `Command { std: "docker" "start" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `ps1` (manifest) generated 1 warning
[INFO] [stderr]     Checking ps1 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/main.rs:57:32
[INFO] [stdout]    |
[INFO] [stdout] 57 | ...                   Err(why) => panic!("couldn't open"),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   Err(why) => panic!("couldn't read "),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `response_default` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     let response_default;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_response_default` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `response_default` is never read
[INFO] [stdout]   --> src/main.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         response_default =format!(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `counter` should have an upper case name
[INFO] [stdout]   --> src/main.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     static mut counter: i32 = 0;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 -     static mut counter: i32 = 0;
[INFO] [stdout] 29 +     static mut COUNTER: i32 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |                          </body></html>\r\n",counter);
[INFO] [stdout]    |                                              ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn parse(body: &str) -> HttpRequest{
[INFO] [stdout]    |                ^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn parse(body: &str) -> HttpRequest<'_>{
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/main.rs:57:32
[INFO] [stdout]    |
[INFO] [stdout] 57 | ...                   Err(why) => panic!("couldn't open"),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: all finished
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   Err(why) => panic!("couldn't read "),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `response_default` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     let response_default;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_response_default` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `response_default` is never read
[INFO] [stdout]   --> src/main.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |                         response_default =format!(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `counter` should have an upper case name
[INFO] [stdout]   --> src/main.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |     static mut counter: i32 = 0;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 29 -     static mut counter: i32 = 0;
[INFO] [stdout] 29 +     static mut COUNTER: i32 = 0;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:83:46
[INFO] [stdout]    |
[INFO] [stdout] 83 |                          </body></html>\r\n",counter);
[INFO] [stdout]    |                                              ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn parse(body: &str) -> HttpRequest{
[INFO] [stdout]    |                ^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn parse(body: &str) -> HttpRequest<'_>{
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb", kill_on_drop: false }`
[INFO] [stdout] ab31a1c7d52a5459b984656b0423c5885529dda98c1ab6a47f37fb503e480afb
